package com.bytic.miaosha.redis;

import com.bytic.miaosha.constant.KeyConstant;

public class MiaoshaUserKey extends BaseKeyPrefix {

    public MiaoshaUserKey(int expire, String prefix) {
        super(expire, prefix);
    }

    public static MiaoshaUserKey token = new MiaoshaUserKey(KeyConstant.COOKIE_TOKEN_EXPIRES, KeyConstant.TOKEN_KEY_PREXIF);
    public static MiaoshaUserKey id = new MiaoshaUserKey(KeyConstant.DEFALUT_KEY_EXPIRES, KeyConstant.USER_KEY_PREXIF);
}
